You can use BWAPI on the ICCUP Battle.net server, but you must first create an ICCup account.
Visit http://www.iccup.com/ for details.

Included is the registry patch (iccup_reg.exe) that allows you to select the ICCup server from within Starcraft.